﻿
/*----------------------------------------------------------------
 * 创建时间：2023/8/2 17:58:54
 * 作  者：wenlli 
 * 项  目：Minotaur.App.Domains.Dto.Flow 
 * 描  述：流程属性类
 *
 * ----------------------------------------------------------------
 * 修改人：
 * 时  间：
 * 修改说明：
 * 
 *----------------------------------------------------------------*/


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Minotaur.App.Domains.Dto.Flow
{
    /// <summary>
    /// 流程属性
    /// </summary>
    public class FlowInfoDto
    {
        /// <summary>
        /// 流程ID
        /// </summary>
        public virtual long FlowId { get; set; }    
        /// <summary>
        /// 流程名称
        /// </summary>
        public string FlowName { get; set; }

        /// <summary>
        /// 表单ID
        /// </summary>
        public long FormId { get; set; }

        /// <summary>
        /// 表单版本
        /// </summary>
        public long FormVersionId { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public virtual string? Note { get; set; }

        /// <summary>
        /// 所有的节点信息
        /// </summary>
        public virtual List<FlowStepInfoDto> Nodes { get; set; }=new List<FlowStepInfoDto>(){ };

        /// <summary>
        /// 连线集合
        /// </summary>
        public virtual List<FlowLineDto> Lines { get; set; } = new List<FlowLineDto>();
    }
}
